//
//  SEGSignActivityDetailViewModel.h
//  Commom
//
//  Created by Clavis on 2020/6/18.
//

#import <Foundation/Foundation.h>
#import <ReactiveObjC/ReactiveObjC.h>
#import <SEGModel/SEGActivitySignModel.h>
#import <SEGModel/SEGActivityDetailModel.h>
#import <SEGModel/SEGActivityTaskModel.h>

#define SEGActicityErrorNoAuthTitleKey @"SEGActicityErrorNoAuthTitleKey" // 没有权限的提示title

@interface SEGSignActivityDetailViewModel : NSObject

/// 活动ID（必传）
@property (nonatomic, strong)NSString *actId;

/// 活动详情信号量
@property (nonatomic, strong) RACSignal *activityDetailSignal;
/// 签到详情信号量
@property (nonatomic, strong) RACSignal *signDetailSignal;
/// 签到信号量
@property (nonatomic, strong) RACSignal *submitSignSignal;
/// 获取任务列表信号量
@property (nonatomic, strong) RACSignal *fetchTaskListSignal;
/// 领取任务信号量
@property (nonatomic, strong) RACCommand *receiveTaskCommand;
/// 积分抢兑信号量
@property (nonatomic, strong) RACSignal *integralEexchangeSignal;
/// 总积分信号量
@property (nonatomic, strong) RACSignal *totalIntegralSignal;
/// 广告数据信号量
@property (nonatomic, strong) RACSignal *adListSignal;
/// 任务详情
@property (nonatomic, strong) RACCommand *taskDetailCommand;
/// 获取签到Id
@property (nonatomic, strong) RACSignal *signIdSignal;

/// 福利社签到Id
@property (nonatomic, copy) NSString *signId;

/// 活动详情Model
@property (nonatomic, strong, readonly) SEGActivityDetailModel *detailModel;
/// 签到活动主题信息Model
@property (nonatomic, strong, readonly) SEGActivitySignModel *signModel;

@end
